/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tourmsystem.tourmanaging.classes;

import java.util.ArrayList;
import tourmsystem.bookingmn.model.Customer;

public class Tour_Customer {

    private int id;
    private Tour tour;
    private ArrayList<Customer> customers = new ArrayList<Customer>();
    private float cost;
    private String state;// trang thai con cho/het cho/dongs

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
    

    public float getCost() {
        return cost;
    }

    public void setCost(float cost) {
        this.cost = cost;
    }

    public ArrayList<Customer> getCustomers() {
        return customers;
    }

    public void setCustomers(ArrayList<Customer> customers) {
        this.customers = customers;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Tour getTour() {
        return tour;
    }

    public void setTour(Tour tour) {
        this.tour = tour;
    }

    public Tour_Customer(Tour tour, ArrayList<Customer> customers, float cost, String state) {
        this.id = 0;
        this.tour = tour;
        this.customers = customers;
        this.cost = cost;
        this.state = state;
    }

    public Tour_Customer() {
        this(new Tour(), new ArrayList<Customer>(), 0f, Definition.STATES[1]);
    }
    
}
